'''

@author: wyndem
@Emil:   wyndem@qq.com
@FileName: rules.py
@Time: 2018/11/8 14:38
@Software: PyCharm
@Description: 

'''


#添加小说
from novel.request import haobqg

RULES = {
    'www.haobqg.com':"scrapy crawl haobqg -a href=%s"
}

#在线解析小说章节
ONLINE_CHAPTER_RULES={
    'www.haobqg.com': haobqg.chapter
}

# 解析小说章节
CHAPTER_RULES={
        'www.haobqg.com':'scrapy crawl haobqg -a id=%s  -a type=chapter  -a url=%s -a no=%s'
}

#更新小说章节
UPDATA_RULES={
    'www.haobqg.com':'scrapy crawl haobqg -a id=%s  -a type=updata'

}